package com.hnust.dao;

import com.hnust.domain.TeaCourseGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 *创建人：游磊
 *创建时间：2020/10/8
 *描述：老师课程组的dao
 */
@Mapper
@Repository
public interface TeaCourseGroupDao {
    // 添加老师课程组信息
    @Select("insert into tea_course_group (id,group_leader,tea_id,cou_gro_id) values (#{id},#{groupLeader},#{teaId},#{couGroId})")
    Integer addTeaCourseGroup(TeaCourseGroup t);
}
